package suxinyi.rbac.domain.dto;

/**
 * 数据传输对象类型-用户
 * @author 苏心怡
 * @since 2025/6/6 10:26
 */


public class UserDto extends BaseDto {
    /**
     * 用户名，用来登录
     */
    public String username;

    /**
     * 真实姓名
     */
    public String name;

    /**
     * 电话
     */
    public String mobile;

    /**
     * 邮箱
     */
    public String email;

    /**
     * 所属的部门Id
     */
    public Integer deptId;

    /**
     * 具有的角色Id
     */
    public Integer roleId;

    public UserDto() {
    }

    public UserDto(String username, String name, String mobile, String email, Integer deptId, Integer roleId) {
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
